/**
 * 
 */
package cn.gov.msa.service;

import java.util.List;

import org.springframework.stereotype.Service;

import cn.gov.msa.model.DeclareItem;
import cn.gov.msa.model.Dictionary;
import cn.gov.msa.model.DictionaryDetail;
import net.sf.json.JSONObject;

/**
 * @author Administrator
 *
 */
@Service
public interface DictionaryService {

	public int deleteDictionary(String dictcode) throws Exception;

	public boolean saveData(Dictionary dictionary, List<DictionaryDetail> dictionaryDetailList) throws Exception;

	public boolean updateData(Dictionary dictionary, List<DictionaryDetail> dictionaryDetailList) throws Exception;
	
	public List<Dictionary> selectDictionary(int pageNum, int pageSize, Dictionary dictionary) throws Exception;

	public Dictionary getInfoByDictCode(String dictcode) throws Exception;
}
